module.exports = {
  lintOnSave: false,
  // paths  以下由webpack-dev-server
  devServer: {
    proxy: {
      "/api": {
        target: "http://localhost:8080",
        changeOrigin: true,
        pathRewrite: {
          "^/api": "/mock"
        }
      }
    }
  },
  configureWebpack: {
    output: {
      libraryExport: "project"
    }
  }
}
